package org.jeecg.modules.production.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 项目台账
 * @Author: jeecg-boot
 * @Date:   2022-11-02
 * @Version: V1.0
 */
@Data
@TableName("production_project_account")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="production_project_account对象", description="项目台账")
public class ProductionProjectAccount implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/** 项目名称*/
	@Excel(name = " 项目名称", width = 15)
    @ApiModelProperty(value = " 项目名称")
    private String projectName;
	/**项目编号*/
	@Excel(name = "项目编号", width = 15)
    @ApiModelProperty(value = "项目编号")
    private String projectNum;
	/**项目负责人*/
	@Excel(name = "项目负责人", width = 15)
    @ApiModelProperty(value = "项目负责人")
    private String projectHead;
	/**项目类型*/
	@Excel(name = "项目类型", width = 15, dicCode = "project_type")
	@Dict(dicCode = "project_type")
    @ApiModelProperty(value = "项目类型")
    private String projectType;
	/**建设单位（客户）*/
	@Excel(name = "建设单位（客户）", width = 15)
    @ApiModelProperty(value = "建设单位（客户）")
    private String busClient;
	/** 创建日期*/
	@Excel(name = " 创建日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = " 创建日期")
    private Date createDate;
	/**开工日期*/
	@Excel(name = "开工日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开工日期")
    private Date startDate;
	/**备案交付日期*/
	@Excel(name = "备案交付日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "备案交付日期")
    private Date curEndDate;
	/**是否变更*/
	@Excel(name = "是否变更", width = 15)
    @ApiModelProperty(value = "是否变更")
    private String changed;
	/**原备案交付日期*/
	@Excel(name = "原备案交付日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "原备案交付日期")
    private Date oriEndDate;
	/** 变更内容*/
	@Excel(name = " 变更内容", width = 15)
    @ApiModelProperty(value = " 变更内容")
    private String changedContent;
	/**归属部门*/
	@Excel(name = "归属部门", width = 15)
    @ApiModelProperty(value = "归属部门")
    private String belongDepartment;
	/**总产值（万元）*/
	@Excel(name = "总产值（万元）", width = 15)
    @ApiModelProperty(value = "总产值（万元）")
    private Double totalValue;
	/**进度（%）*/
	@Excel(name = "进度（%）", width = 15)
    @ApiModelProperty(value = "进度（%）")
    private Double progress;
	/**当前产值（万元）*/
	@Excel(name = "当前产值（万元）", width = 15)
    @ApiModelProperty(value = "当前产值（万元）")
    private Double curValue;
	/**验证审核完成时间*/
	@Excel(name = "验证审核完成时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "验证审核完成时间")
    private Date validateFinishDate;
	/**项目性质*/
	@Excel(name = "项目性质", width = 15, dicCode = "project_attribution")
	@Dict(dicCode = "project_attribution")
    @ApiModelProperty(value = "项目性质")
    private String projectAttribution;
	/**竣工时间*/
	@Excel(name = "竣工时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "竣工时间")
    private Date completedDate;
	/**批文号*/
	@Excel(name = "批文号", width = 15)
    @ApiModelProperty(value = "批文号")
    private String approvalNum;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private String status;
}
